home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1999 February / MACPOWER-1999-02.ISO.7z / MACPOWER-1999-02.ISO / 9902⁄AMUG / EDUCATION / Easy Writer 3.5.sit / Easy Writer ƒ / Easy Writer .rsrc / LENS_129_Control < prev    next >
Text File  |  1998-10-19  |  4KB  |  86 lines

  1. ItemType: WIND
  2. Rect: 296,246,727,355
  3. Style: craftydup
  4. Logic:Windoid
  5. HasTitleBar: TRUE
  6. HasZoomBox: FALSE
  7. HasCloseBox: FALSE
  8. HasGrowBox: FALSE
  9. MinSize: 100,50
  10. MaxSize: 865,597
  11. Name: Control
  12. WhiteColor: -1,-13108,-13108
  13. Script: --on windowEvent  wdID,wdName,objNo,objName,objValueツツif objValue="Open" thenツ  global mediaツ  if media = "Blackboard" thenツ    put "i1_Name:PrimPap" & RETURN into xツ  elseツ    put "i1_Name:Chlkbrd" & RETURN into xツ  end ifツ  global theToolツ  if theTool = "browse" thenツ    put "i2_Name:Pointer" & RETURN after xツ  elseツ    put "i2_Name:Writer" & RETURN after xツ  end ifツ  global langツ  put lang & "_Hilite:true" & RETURN after xツ  global sndツ  if snd is true thenツ    put "i6_Name:Habla" & RETURN after xツ  elseツ    put "i6_Name:Calla" & RETURN after xツ  end ifツ  ツ  put the short name of this card into tcツ  get i14_Text of window wdNameツ  repeat with kk = 1 to (the number of lines of it)ツ    if line kk of it = tc thenツ      put kk into jjツ      exit repeatツ    end ifツ  end repeatツ  if jj <> empty thenツ    put "i14_Selection:"&jj & RETURN after xツ  end ifツ  set the properties of window wdName to x ツ  ツelse if objValue="Close" then ツ  ツelse if objValue="Suspend" then ツ  ツelse if objValue="Resume" then ツ  ツelse if objValue="CloseBox" then ツ  ツelse if objValue="ZoomBox" then ツ  ツelse if objValue="GrowBox" then ツ  ツelse if objValue="TitleBar" then ツ  ツend ifツツ--end windowEvent
  14.  
  15. ItemType: ICON
  16. Rect: 243,7,275,39
  17. Name: Chlkbrd
  18. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツツget i1_Name of window wdNameツif it is "PrimPap" thenツ  set i1_Name of window wdName to "Chlkbrd"ツelseツ  set i1_Name of window wdName to "PrimPap"ツend ifツtoggleMediaツ--end mouseUp
  19.  
  20. ItemType: ICON
  21. Rect: 210,7,242,39
  22. Name: Pointer
  23. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツツget i2_Name of window wdNameツif it is "Pointer" thenツ  set i2_Name of window wdName to "Writer"ツ  choose the brush toolツelseツ  set i2_Name of window wdName to "Pointer"ツ  choose the browse toolツend ifツ--end mouseUp
  24.  
  25. ItemType: ICON
  26. Rect: 242,40,274,72
  27. Name: Prntr
  28. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツPrintItツ--end mouseUp
  29.  
  30. ItemType: ICON
  31. Rect: 275,7,307,39
  32. Name: Bomb
  33. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツBlowItAwayツ--end mouseUp
  34.  
  35. ItemType: ICON
  36. Rect: 210,40,242,72
  37. Name: Question
  38. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツdoMyHelpツ--end mouseUp
  39.  
  40. ItemType: ICON
  41. Rect: 275,40,307,72
  42. Name: Habla
  43. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツget i6_Name of window wdNameツglobal sndツif it is "Habla" thenツ  set i6_Name of window wdName to "Calla"ツ  put false into sndツelseツ  set i6_Name of window wdName to "Habla"ツ  put true into sndツend ifツ--end mouseUp
  44.  
  45. ItemType: PICT
  46. Rect: 6,7,209,101
  47. Name: Teclado
  48. Grid: 6,5
  49. Logic: Push
  50. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツツput false into SDツif the shiftKey is down then put true into SDツget i7_Selection of window wdNameツif it < 27 thenツ  if SD thenツ    letter (numtoChar(64+it)) ツ elseツ   letter (numtoChar(96+it))ツ  end ifツelse if it < 29 thenツ  letter " " ツelseツ  doAWordツend ifツ--end mouseUp
  51.  
  52. ItemType: ICON
  53. Rect: 210,73,242,105
  54. Name: Quit
  55. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツcQuitツ--end mouseUp
  56.  
  57. ItemType: ICON
  58. Rect: 243,73,275,105
  59. Name: menu
  60. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツtoggleMenuツ--end mouseUp
  61.  
  62. ItemType: ICON
  63. Rect: 275,73,307,105
  64. Name: AlphaEdit
  65. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツツcAEditツ--end mouseUp
  66.  
  67. ItemType: RAD
  68. Rect: 315,63,385,79
  69. Name: English
  70. Hilite: TRUE
  71. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツglobal langツput "English" into langツ--end mouseUp
  72.  
  73. ItemType: RAD
  74. Rect: 314,84,388,100
  75. Name: Spanish
  76. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツglobal langツput "Spanish" into langツ--end mouseUp
  77.  
  78. ItemType: LBL
  79. Rect: 315,11,377,27
  80. Text: Alphabet
  81.  
  82. ItemType: POP
  83. Rect: 309,31,426,48
  84. Name: alphselect
  85. Text: ManuscriptツCursive
  86. Script: --on mouseUp  wdID,wdName,objNo,objName,objValueツget i14_Selection of window wdnameツput it into dddツget i14_Text of window wdNameツput line ddd of it into thecdツif not (there is a cd thecd) thenツ  answer ("No such alphabet.")ツelseツ  go cd thecdツend ifツ--end mouseUp□